package com.sy.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "用户添加或者修改传递的数据模型")
public class EmployeeDTO implements Serializable {
    private Long id;
    @ApiModelProperty(value = "员工用户名",required = true)
    private String username;
    @ApiModelProperty(value = "员工的真实姓名",required = true)
    private String name;
    @ApiModelProperty(value = "员工的手机号",required = true)
    private String phone;
    @ApiModelProperty(value = "员工性别：1:男  0:女",required = true)
    private Integer sex;
    @ApiModelProperty(value = "员工的账号状态：0禁用 1可用",required = true)
    private Integer status;
}
